<?php
//zengke
header("Content-type: text/html; charset=utf-8");
define('IN_SERVER', TRUE);
define('DIR_ROOT', substr(str_replace("\\",'/',dirname(__FILE__)),0,-7));

require_once '../../configs/config.inc.php';
require_once '../../configs/memcached.php';
require_once '../../configs/server.php';
if(RELEASE) {
	error_reporting(0);
	ini_set("display_errors", "off");
} else { // test
	error_reporting(E_ALL);
	ini_set("display_errors", "on");
}

/*
 * 包含额外语言
 * 示例: $chs = lng("chs");
 * 注意: 尽量保证$chs有效，可以减少include次数而增加性能
*/
function __autoload($classname) {
	require_once ('../../model/'.$classname . ".php");
}
	

?>